package com.xindacloud.sms.adapter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;


@Data
@TableName
@Builder
public class SmsProjectMember implements Serializable {

    private static final long serialVersionUID = 1572835045669L;


    /**
     * 主键
     * 成员UUID
     * isNullAble:0
     */
    @TableId(type = IdType.UUID)
    private String projectMemberId;

    /**
     * 项目UUID
     * isNullAble:1
     */
    private String projectId;

    /**
     * 用户ID
     * isNullAble:1
     */
    private Integer userId;


    @Override
    public String toString() {
        return "SmsProjectMember{" +
                "projectMemberId='" + projectMemberId + '\'' +
                "projectId='" + projectId + '\'' +
                "userId='" + userId + '\'' +
                '}';
    }
}
